package com.gamex.findit.model;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.ibatis.type.Alias;

@Alias("itempurchasehist")
@XmlRootElement
public class ItemPurchaseHist extends BaseModel implements Serializable{
	private static final long serialVersionUID = -2192073288063908729L;
	
	private int seq;
	private int itemNo;
	private String userId;
	private String itemName;
	private int quantity;
	private Date regDate;
	
	public int getSeq() {
		return seq;
	}
	public void setSeq(int seq) {
		this.seq = seq;
	}
	public int getItemNo() {
		return itemNo;
	}
	public void setItemNo(int itemNo) {
		this.itemNo = itemNo;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	
	@Override
	public String toString() {
		return "ItemPurchaseHist [seq=" + seq + ", itemNo=" + itemNo
				+ ", userId=" + userId + ", itemName=" + itemName
				+ ", quantity=" + quantity + ", regDate=" + regDate + "]";
	}
	
	

}
